package com.css.fxfzysx.modules.vaomeFacilities.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.css.fxfzysx.modules.vaolEngineering.serializer.BigDecimalSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 矩阵表，子表
 * czt_important_project_vulner_matrix
 */
@Data
public class CipvMatrixEntity {

    /**
     * id
     */
    private String cipvId;

    /**
     * 编号
     */
    private String cipvCode;

    /**
     * 类型
     */
    private String cipvType;

    private String cipvType1;

    /**
     * 设防情况
     */
    private String fortification;

    /**
     * 年代
     */
    private String years;

    /**
     * 重大工程类别
     */
    private String majorProjectCategory;

    /**
     * 省份
     */
    @Excel(name = "省份")
    private String province;

    /**
     * 烈度
     */
    @Excel(name = "烈度")
    private String intensity;

    /**
     * 基本完好
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @Excel(name = "基本完好")
    private BigDecimal basicIntact;

    /**
     * 轻微破坏
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @Excel(name = "轻微破坏sl")
    private BigDecimal slightDamage;

    /**
     * 中等破坏
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @Excel(name = "中等破坏ml")
    private BigDecimal moderateDamage;

    /**
     * 严重破坏
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @Excel(name = "严重破坏el")
    private BigDecimal badlyDamaged;

    /**
     * 倒塌
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    @Excel(name = "倒塌c")
    private BigDecimal collapse;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改人
     */
    private String updateUser;

    public String userName;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 删除标记
     */
    private String delFlag;

    private String role;

    public String createStartTime;
    public String createEndTime;
}
